#### Replication of "The BIAT and the AMP As Measures of Racial Prejudice in Political Science: A Methodological Assessment"
#### Katherine Clayton, Jordan Horrillo, and Paul M. Sniderman
#### Political Science Research and Methods
#### Correspondance: `kpc14@stanford.edu`

***

#### Description
Political scientists often use measures such as the Brief Implicit Association Test (BIAT) and the Affect Misattribution Procedure (AMP) to gauge hidden or subconscious racial prejudice. However, the validity of these measures has been contested. Using data from the 2008–2009 ANES panel study---the only study we are aware of in which a high-quality, nationally representative sample of respondents took both implicit tests---we show that: (1) although political scientists use the BIAT and the AMP to measure the same thing, the relationship between them is substantively indistinguishable from zero; (2) both measures classify an unlikely proportion of whites as more favorable toward Black Americans than white Americans; and (3) substantial numbers of whites that either measure classifies as free of prejudice openly endorse anti-Black stereotypes. These results have important implications for the use of implicit measures to study racial prejudice in political science.

#### Files included in this package:

- `_README.md` (this file)
- `_README.html` -- generated by `_README.md`
- `_R.Rproj` -- the directory with this file should be the working directory
- data (folder)
    - `anes_timeseries_2008.dta` -- ANES 2008 Time-Series Study Dataset
    - `ANES0809Panel_IAT.por` -- IAT Scores on the ANES 2008-2009 Panel Study
    - `anes2008_2009panel_dataset.dta` -- ANES 2008-2009 Panel Study Dataset
- documents (folder)
    - `anes_specialstudy_2008_2009panel_FreqCbk.pdf` -- ANES 2008-2009 Panel Study Frequency Codebook
    - `anes_specialstudy_2008_2009panel_MethodologyRpt.pdf` -- ANES 2008-2009 Panel Study Methodology Report
    - `anes_specialstudy_2008_2009panel_qnaire.pdf` -- ANES 2008-2009 Panel Study Questionnaire
    - `anes_timeseries_2008_codebook_post.pdf` -- ANES 2008-2009 Time-Series Study Questionnaire (Post-Election)
    - `anes_timeseries_2008_codebook_pre.pdf` -- ANES 2008-2009 Time-Series Study Questionnaire (Pre-Election)
- figures (folder)
    - All files are generated by the scripts.
- log_files (folder)
    - `01_analysis.log` -- Log file for script 1
    - `02_analysis.log` -- Log file for script 2
    - `03_analysis.log` -- Log file for script 3
    - `04_appendix.log` -- Log file for script 4
    - `05_extra.log` -- Log file for script 5
- output (folder)
    - All files are generated by the scripts.
- scripts (folder) 
    - `01_analysis.R`
    - `02_analysis.R`
    - `03_analysis.R`
    - `04_appendix.R`
    - `05_extra.R`
- tables (folder)
    - All files are generated by the scripts.
    
#### Program: 

`R` (version 4.1.3)

#### Additional programs required: 

- `tidyverse` (version 1.3.1)
- `readstata13` (version 0.10.0)
- `haven` (version 2.4.3)
- `cowplot` (version 1.1.1)
- `xtable` (version 1.8-4)
- `scales` (version 1.1.1)
- `estimatr` (version 0.30.6)

#### Process of replication:

1. For best results, restart R using Ctrl+FN+F10 (Mac) or Ctrl+shift+F10 (Windows and Linux) before running script.

2. Run `01_analysis.R`

3. Run `02_analysis.R`

4. Run `03_analysis.R`

5. Run `04_appendix.R`

6. Run `05_extra.R`


#### Most recent date of successful replication:

September 28, 2022